home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / shortreloc.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  1.9 KB  |  54 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-100]
  2. [C;6;B]        SHORTRELOC or SR
  3.         SHORTRELOCOVERLAY or SRO
  4. [J;1;N]
  5.   Only the commercial version will have this instruction fully \
  6. supported. Registred people will receive that version.
  7.  
  8.   The instruction SHORTRELOC can be used for version 37 \
  9. and over of DOS. This will transform any reloc hunk into \
  10. a short 32 reloc hunk. It should enable you to save up \
  11. to 32Kb...
  12.  
  13.   You must also consider that the usage of this instruction \
  14. disables the ability of the earlier DOS versions to load \
  15. your executable.
  16.  
  17.   The usage of this keyword moves all small relocs into \
  18. the short reloc table. This might enlarge your file in \
  19. a so few cases that no internal test is done.
  20.   You can use lk on all of your executable (even thoses \
  21. of Commodore) to make them smaller. Anyway, ensure that \
  22. you have a copy of the original file.
  23.  
  24.   When you do not use this instruction, the short reloc \
  25. tables are deleted and replaced by normal reloc 32.
  26.  
  27.   If you want to generate (or load) files for the V37 of \
  28. DOS, you will have to use the following instructions:
  29.     READSRV37
  30.     WRITESRV37
  31. which is a counter pass to the Commodore bugs.
  32.  
  33.   The lk overlays support short relocs at anytime while \
  34. you use the default lk overlay handler. This does not check \
  35. the system version. Then the SHORTRELOCOVERLAY instruction \
  36. should be used at anytime when an overlay is created. The \
  37. short reloc of the overlay takes in account the version V37 \
  38. bug.
  39.  
  40.   See also:
  41. [L;3][LINK makerelative]        MAKERELATIVE
  42. [LINK overlay]                OVERLAY
  43. [LINK small]                SMALL
  44. [LINK small]                SMALLBSS
  45. [LINK small]                SMALLCODE
  46. [LINK small]                SMALLDATA
  47. [LINK single]                SINGLE
  48. [LINK single]                SINGLEBSS
  49. [LINK single]                SINGLECODE
  50. [LINK single]                SINGLEDATA
  51. [LINK shortv37]                READSRV37
  52. [LINK shortv37]                WRITESRV37
  53. [5; LINK about; GOTO address]        Become Registred
  54.